#ifndef enemy_H
#define enemy_H

#include <hge.h>
#include <hgefont.h>
#include <windows.h>
#include <hgeresource.h>
#include <hgerect.h>
#include "tile.h"
class enemy {
private:
	//int xSprite,ySprite;
public:
	bool intersection;
	//hgeSprite * sprite;
	hgeAnimation * anim;
    hgeRect * RectTile;
//fuctions
	enemy(float _enemyPositionX,float _enemyPositionY,HTEXTURE _texture,int _enemy_number);
	void drawEnemy();
    void moveEnemy(float _dx,float _dy);
    bool checkIntersection(tile * _tile,int type_of_action);
 int enemy_number;
 int left;
 int up;
 bool down_status;
 float downPointX;
 float downPointY;
 float enemyPositionX,enemyPositionY;
 bool enemyDown(float dv,int speed);
 bool setEnemyPosition(float _x,float _y);
 bool checkPointIntersection(tile * _tile);
};





#endif